﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RoleMaster.aspx.cs" MasterPageFile="~/MasterPages/AdminMaster.master" Inherits="Admin_RoleMaster" %>



<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table style="width: 100%" id="TABLE1" cellspacing="1" cellpadding="1" border="0">
        <tbody>
            <tr>
                <td style="height: 30px; text-align: center" colspan="3">
                    <table id="TABLE3">
                        <tbody>
                            <tr>
                                <td colspan="7" style="text-align: left;">
                                    <h2>Role Master</h2>
                                </td>
                            </tr>
                            <%--<tr>
                                <td style="vertical-align: middle;" align="right" class="auto-style3">Role Name&nbsp;
                                </td>
                                <td style="width: 100px; vertical-align: middle;">
                                    <asp:TextBox ID="txtRoleName" runat="server" Width="139px" MaxLength="50">
                                    </asp:TextBox></td>
                                
                                <td align="left" class="auto-style2" style="width: 92px;">&nbsp;
                                            <asp:Button ID="btnSearch" runat="server"
                                                Text="Search" CausesValidation="false"></asp:Button></td>
                                <td style="width: 142px" align="left">&nbsp;
                                            <asp:Button ID="btnClear" runat="server"
                                                Text="Clear" CausesValidation="false"></asp:Button></td>
                                <td style="width: 18%; text-align: right" align="right">
                                    <asp:Button ID="btnAddNew" runat="server"
                                        Text="Add New Role" CausesValidation="false" OnClick="btnAddNew_Click"></asp:Button></td>
                            </tr>--%>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3">
                    <div class="grd_table" style="overflow-x: auto; width: 950px">

                        <asp:GridView ID="gvUserRole" runat="server"
                            PageSize="20" AllowPaging="true" Width="95%"
                            AutoGenerateColumns="false" OnRowCommand="gvSearchResult_RowCommand">
                            <Columns>
                                
                                <asp:BoundField DataField="RoleName" HeaderText="Role Name">
                                    <ItemStyle Width="15%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                 <asp:BoundField DataField="RoleTitle" HeaderText="Role Title">
                                    <ItemStyle Width="20%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                  <asp:BoundField DataField="Description" HeaderText="Description">
                                    <ItemStyle Width="65%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                               
                            </Columns>
                             <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#E2DED6" ForeColor="blue" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#CCCCCC" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                    </div>
                </td>
            </tr>
            <tr>
                <td align="right" colspan="3"></td>
            </tr>
        </tbody>
    </table>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="head">
    <style type="text/css">
        .auto-style2 {
            width: 114px;
        }

        .auto-style3 {
            width: 96px;
        }

        .auto-style4 {
            width: 90px;
        }
    </style>
</asp:Content>
